package com.CST.controller.cb;


import com.CST.common.api.ResultObject;
import com.CST.entity.cb.EtlAcSalary;
import com.CST.service.cb.IEtlAcSalaryService;
import io.swagger.annotations.*;

import java.util.*;

import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xnd
 * @since 2022-01-13
 */
@Api(tags = {"工资项目"})
@RestController
@RequestMapping("/etlAcSalary")

public class EtlAcSalaryController {
    
    @Autowired
    private IEtlAcSalaryService etlAcSalaryService;

    @PostMapping("/getSalarySource")
    @ApiOperation("工资项目")
    public ResultObject getSalarySource(@RequestBody EtlAcSalary entity) {
        List<EtlAcSalary> result = etlAcSalaryService.getSalarySource(entity);
        return ResultObject.successReturn(result);
    }

}

